using System;

namespace ELS.Configuration
{
	#region ListChangedType
	/// <summary>
	/// Specifies how the list changed.
	/// </summary>
	public enum ListChangedType
	{
		/// <summary>
		/// An item added to the list. <see cref="ELS.Configuration.ListChangedEventArgs"/>.<see cref="ELS.Configuration.ListChangedEventArgs.NewIndex"/> 
		/// contains the index of the item that was added.
		/// </summary>
		ItemAdded	= 1,
		/// <summary>
		/// An item changed in the list. <see cref="ELS.Configuration.ListChangedEventArgs"/>.<see cref="ELS.Configuration.ListChangedEventArgs.NewIndex"/> 
		/// contains the index of the item that was changed.
		/// </summary>
		ItemChanged = 2,
		/// <summary>
		/// An item deleted from the list. <see cref="ELS.Configuration.ListChangedEventArgs"/>.<see cref="ELS.Configuration.ListChangedEventArgs.NewIndex"/> 
		/// contains the index of the item that was deleted.
		/// </summary>
		ItemDeleted = 3
	}
	#endregion ListChangedType
}
